﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" CodeBehind="Cart.aspx.cs" Inherits="FastDeal.Cart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="div_GioHang">
        <div class="cart_tieuDe">
        <asp:Panel ID="Panel1" runat="server" Height="44px" Width="733px">
            Giỏ Hàng Của Bạn
        </asp:Panel> 
        </div>
    <div>
     <asp:GridView ID="GV_DSGioHang" runat="server" AutoGenerateColumns="False" 
            Height="101px" Width="737px" DataKeyNames="MaKhuyenMai"  CssClass="gv_GioHang"
            >
         <Columns>
             <asp:BoundField DataField="MaKhuyenMai" HeaderText="Mã Sản Phẩm" 
                 Visible="False">
             <HeaderStyle Height="30px" />
             </asp:BoundField>
             <asp:BoundField HeaderText="Tên Khuyến Mãi" DataField="TenKhuyenMai" >
             <HeaderStyle Height="30px" />
             </asp:BoundField>
             <asp:BoundField HeaderText="Giá Tiền" DataField="GiaKhuyenMai" />
             <asp:BoundField HeaderText="Số Lượng Mua" DataField="SoLuong" />
             <asp:TemplateField HeaderText="Hình Ảnh">
                 <EditItemTemplate>
                     <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("DuongDan") %>'></asp:TextBox>
                 </EditItemTemplate>
                 <ItemTemplate>
                     <asp:Image ID="Image1" runat="server" Height="107px" 
                         ImageUrl='<%# Bind("DuongDan") %>' Width="105px" CssClass="cart_hinhAnh"/>
                 </ItemTemplate>
                 <ItemStyle Width="109px" />
             </asp:TemplateField>
         </Columns>
     </asp:GridView>
        </div>
        <div class="cart_tieuDe"> Điền Thông Tin Cá Nhân</div>
         <div class="div_ThanhToan">
        <asp:Panel ID="pn_ThanhToan" runat="server" Height="159px" Width="724px" 
            CssClass="pn_ThanhToan">
            <div class="div_Chung">
                <div class="div_HinhAnh">
                    <asp:Image ID="Image1" runat="server" Height="55px" 
                        ImageUrl="~/HinhAnh/thu_tien.png" Width="221px" CssClass="image" />
                </div>
                <div class="div_LoiGioiThieu"> <br />1.Chúng tôi sẽ thực hiện giao hàng tận nhà<br />
                                               2.Thanh Toán Trực tiếp bằng tiền mặt với bạn</div>
              <div class="div_check">
                  <asp:CheckBox ID="check_TanNha" runat="server" Text="1" 
                     /> </div> 

            </div>
            <div class="div_Chung">
                <div class="div_HinhAnh">
                    <asp:Image ID="Image2" runat="server" Height="61px" 
                        ImageUrl="~/HinhAnh/trong_nuoc.png" Width="220px" CssClass="image" />
                </div>
                 <div class="div_LoiGioiThieu"> <br />1.Thanh toán thông qua ATM của bạn.<br /> 
                     2..Chúng tôi sẽ thực hiện giao hàng tận nhà</div>
                  <div class="div_check"><asp:CheckBox ID="check_ATM" runat="server"  Text="2" /> </div>  

            </div>
             
        </asp:Panel>
    </div>
    <div>
        <asp:Panel ID="Panel6" runat="server" Width="733px" 
            CssClass="muaHang_panel_ThongTinKhachHang" Height="258px">
            <div  class="muaHang_thongTinKH_Main">
            <div class="div_chung">
                <div class="div_HinhAnh">Họ Tên </div>
                    
                <div class="div_LoiGioiThieu">
                    <asp:TextBox ID="txt_HoTen" runat="server" CssClass="textbox_KhachHang" 
                        Height="39px" Width="325px"></asp:TextBox> </div>
            </div>

             <div class="div_chung">
                <div class="div_HinhAnh"> Địa Chỉ</div>
                <div class="div_LoiGioiThieu">
                    <asp:TextBox ID="txt_DiaChi" runat="server" CssClass="textbox_KhachHang" 
                        Height="38px" Width="322px"></asp:TextBox></div>
            </div>


             <div class="div_chung">
                <div class="div_HinhAnh"> Email</div>
                <div class="div_LoiGioiThieu">
                    <asp:TextBox ID="txt_Email" runat="server" CssClass="textbox_KhachHang" 
                        Height="37px" Width="323px"></asp:TextBox></div>
            </div>


             <div class="div_chung">
                <div class="div_HinhAnh"> Số Điện Thoại</div>
                <div class="div_LoiGioiThieu">
                    <asp:TextBox ID="txt_SDT" runat="server" CssClass="textbox_KhachHang" 
                        Height="39px" Width="320px"></asp:TextBox></div>
            </div>
          </div>

           <div class="cart_div_MuaHang"> 
            <asp:Button ID="btn_DongYMua" runat="server" Text="Đồng Ý Mua"  
                CssClass="cart_btn_DongYMua" Height="42px" Width="160px" 
                   onclick="btn_DongYMua_Click"/>
        </div> 
            
         
        </asp:Panel> 
        </div>
        
    </div>
</asp:Content>
